#ifndef DOUBAN_FMRADIO_FLASHPLAYERBACKEND_H
#define DOUBAN_FMRADIO_FLASHPLAYERBACKEND_H
#include "IPlayerBackend.h"
#include <QAxWidget>
namespace Douban
{

	class FlashPlayerBackend : public IPlayerBackend
	{
		Q_OBJECT
		public:
			FlashPlayerBackend();
			~FlashPlayerBackend();

			void play(const QString& url);
			void stop();
			void setVolume(int vol);

			bool isFunctional();
		private:
			QAxWidget	m_axobj;
			bool b_isFunctional;
		private slots:
			void FlashCall(QString);

	};
} // namespace Douban

#endif // FLASHPLAYERBACKEND_H
